Amwal\Http\Controllers\Controller S

Total Complexity 45
Dependencies 9
Dependents 1
Total lines 322
Lines of code 199
Logical lines of code 92
Comment lines 74
Methods 17
Properties 7

Methods 17

Method Rating Maintainability Complexity Lines of code
get_shipping_methods()
S
50 7 28
amwalwc_build_order_schema()
S
43 5 52
get_transaction_details()
S
54 5 20
amwalwc_order_core()
S
57 4 16
get_shipping_object()
S
59 4 14
order_creation_error_response()
S
59 4 13
get_custom_meta_from_cart()
S
68 3 8
get_order_by_amwal_transaction_id()
S
61 2 12
__construct()
S
75 2 4
amwalwc_update_order_details()
S
64 2 10
handle()
S
100 1 0
get_route()
S
82 1 3
get_method()
S
82 1 3
get_namespace()
S
82 1 3
get_permission_callback()
S
82 1 3
WCBasicAuth()
S
79 1 3
getInvalidOrderStatus()
S
68 1 7